<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
request.setCharacterEncoding("utf-8");
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="<%=basePath%>" />
   
<title></title>
<base href="<%=basePath%>" />
<jsp:include page="/jsp/admin/common.jsp" />
<jsp:include page="/jsp/tableHead.jsp" />
<script type="text/javascript">
$().ready(function(){

	var option = {
			head : [
					{name:"name",title:"菜单名称",width:100},
		            {name:"seq",title:"序号",width:80},
		            {name:"action_url",title:"跳转地址",width:"50%"},
		            {name:"create_date",title:"修改时间",width:150},
		            {name:"operation",title:"操作",width:100}
		            ],//表格标题定义 
            addURL : "<%=basePath %>admin/menu_edit.do",
            searchURL : "<%=basePath %>admin/menu_list.do",
            editURL : "<%=basePath %>admin/menu_edit.do",
            deleteURL : "<%=basePath %>admin/menu_delete.do",
            execCmd : function(){
                this.$table.orderBy("create_date","DESC");
       			this.queryFn();
   			}
	};
	initTable(option);
});
</script>
</head>
<body onload="">
<div class="path">
	<a href="">首页</a> &raquo; 菜单列表<span>(共<span id="pageTotal"></span>条记录)</span>
</div>
<div class="bar">
	<jsp:include page="../search.jsp">
		<jsp:param value="name,名称,LIKE,true" name="searchKey"/>
	</jsp:include>
</div>
<table id="listTable" class="list">
</table>
</body>
</html>